<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page import="java.util.*" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../resources/css/print.css" />
<script language="javascript" src="../resources/js/jquery-1.7.1.min.js"></script>
<script language="javascript" src="../resources/js/jquery.jqprint-0.3.js"></script>
<script language="javascript">
function  a(){
$("#ddd").jqprint();
}
</script>
</head>
<body>
<div id="ddd">
    <table border=0>
        <tr id="title">
        	<td>
            	<font><b>在校证明</b></font>
            </td>
        </tr>
        <tr id="content">
        	<td>
            	<h1>&nbsp;&nbsp;兹证明${confirm.username }同学，${confirm.sex }，身份证号： ${confirm.identity }，学号${confirm.stu_number }，于${confirm.year }年${confirm.month }月入学，目前为我院计算机科学与技术${confirm.year }级${confirm.classes }班学生，学制为4年，特此说明。<h1>
            </td>
        </tr>
        <tr id="footer">
        	<td>
            	<h1>西安电子科技大学&nbsp;计算机学院<br>
                <fmt:formatDate value="${confirm.time}" pattern="yyyy年MM月dd日"/>&nbsp;</h1>
            </td>
        </tr>
    </table>
</div>
<input type="button" onClick="a()" value="print"/>
</body>
</html>